package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * configuration对象 alert_configuration
 * 
 * @author ruoyi
 * @date 2025-02-18
 */
public class AlertConfiguration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 警告id */
    private Long alertId;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 警告水平 */
    @Excel(name = "警告水平")
    private String alertLevel;

    /** 警告类型 */
    @Excel(name = "警告类型")
    private String alertType;

    /** 警告状态 */
    @Excel(name = "警告状态")
    private String alertStatus;

    /** 最小阈值 */
    @Excel(name = "最小阈值")
    private String thresholdMin;

    /** 最大阈值 */
    @Excel(name = "最大阈值")
    private String thresholdMax;

    public void setAlertId(Long alertId) 
    {
        this.alertId = alertId;
    }

    public Long getAlertId() 
    {
        return alertId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setAlertLevel(String alertLevel) 
    {
        this.alertLevel = alertLevel;
    }

    public String getAlertLevel() 
    {
        return alertLevel;
    }
    public void setAlertType(String alertType) 
    {
        this.alertType = alertType;
    }

    public String getAlertType() 
    {
        return alertType;
    }
    public void setAlertStatus(String alertStatus) 
    {
        this.alertStatus = alertStatus;
    }

    public String getAlertStatus() 
    {
        return alertStatus;
    }
    public void setThresholdMin(String thresholdMin) 
    {
        this.thresholdMin = thresholdMin;
    }

    public String getThresholdMin() 
    {
        return thresholdMin;
    }
    public void setThresholdMax(String thresholdMax) 
    {
        this.thresholdMax = thresholdMax;
    }

    public String getThresholdMax() 
    {
        return thresholdMax;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alertId", getAlertId())
            .append("deviceId", getDeviceId())
            .append("alertLevel", getAlertLevel())
            .append("alertType", getAlertType())
            .append("alertStatus", getAlertStatus())
            .append("thresholdMin", getThresholdMin())
            .append("thresholdMax", getThresholdMax())
            .toString();
    }
}
